#pragma once

#include "gui/GEdit.h"

class TestView :
	public GView
{
public:
	TestView(GForm* parent = 0);
	virtual ~TestView(void);
private:
	GPoint        selectStart;
	GPoint        selectEnd;
protected:
	virtual void  paintEvent ( GPaintEvent& event );
	virtual void  enterEvent( GMouseEvent& event );
	virtual void  leaveEvent( GMouseEvent& event );
	virtual void  mouseMoveEvent( GMouseEvent& event );
	virtual void  mousePressEvent( GMouseEvent& event );
	virtual void  mouseReleaseEvent( GMouseEvent& event );
};
